package com.sbr.seb.rule.entity;

import java.io.Serializable;
import java.util.Collection;

import javax.persistence.Entity;
import javax.persistence.Id;

import com.sbr.seb.rule.Specification;

@Entity
public class PersistedService<T> implements Serializable {

	@Id
	private int id;
	private String name;
	private Collection<Specification<T>> specifications;
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Collection<Specification<T>> getSpecifications() {
		return specifications;
	}

	public void setSpecifications(Collection<Specification<T>> specifications) {
		this.specifications = specifications;
	}
	
}
